/**
 * @mbg.generated generator on Sat Mar 25 13:05:41 CST 2023
 */
package com.ybox.app.service.impl;

import com.ybox.app.domain.AppCollectType;
import com.ybox.app.domain.example.AppCollectTypeExample;
import com.ybox.app.mapper.AppCollectTypeMapper;
import com.ybox.app.service.AppCollectTypeService;

import java.util.List;

import org.springframework.stereotype.Service;

@Service
public class AppCollectTypeServiceImpl implements AppCollectTypeService {
    private final AppCollectTypeMapper appCollectTypeMapper;

    public AppCollectTypeServiceImpl(AppCollectTypeMapper appCollectTypeMapper) {
        this.appCollectTypeMapper = appCollectTypeMapper;
    }

    /**
     * countByExample
     * @param example example
     * @return long long
     */
    @Override
    public long countByExample(AppCollectTypeExample example) {
        return appCollectTypeMapper.countByExample(example);
    }

    /**
     * deleteByExample
     * @param example example
     * @return int int
     */
    @Override
    public int deleteByExample(AppCollectTypeExample example) {
        return appCollectTypeMapper.deleteByExample(example);
    }

    /**
     * deleteByPrimaryKey
     * @param typeId typeId
     * @return int int
     */
    @Override
    public int deleteByPrimaryKey(Integer typeId) {
        return appCollectTypeMapper.deleteByPrimaryKey(typeId);
    }

    /**
     * insert
     * @param row row
     * @return int int
     */
    @Override
    public int insert(AppCollectType row) {
        return appCollectTypeMapper.insert(row);
    }

    /**
     * insertSelective
     * @param row row
     * @return int int
     */
    @Override
    public int insertSelective(AppCollectType row) {
        return appCollectTypeMapper.insertSelective(row);
    }

    /**
     * selectByExample
     * @param example example
     * @return List<AppCollectType> List<AppCollectType>
     */
    @Override
    public List<AppCollectType> selectByExample(AppCollectTypeExample example) {
        return appCollectTypeMapper.selectByExample(example);
    }

    /**
     * selectByPrimaryKey
     * @param typeId typeId
     * @return AppCollectType AppCollectType
     */
    @Override
    public AppCollectType selectByPrimaryKey(Integer typeId) {
        return appCollectTypeMapper.selectByPrimaryKey(typeId);
    }

    /**
     * updateByExampleSelective
     * @param row row
     * @param example example
     * @return int int
     */
    @Override
    public int updateByExampleSelective(AppCollectType row, AppCollectTypeExample example) {
        return appCollectTypeMapper.updateByExampleSelective(row, example);
    }

    /**
     * updateByExample
     * @param row row
     * @param example example
     * @return int int
     */
    @Override
    public int updateByExample(AppCollectType row, AppCollectTypeExample example) {
        return appCollectTypeMapper.updateByExample(row, example);
    }

    /**
     * updateByPrimaryKeySelective
     * @param row row
     * @return int int
     */
    @Override
    public int updateByPrimaryKeySelective(AppCollectType row) {
        return appCollectTypeMapper.updateByPrimaryKeySelective(row);
    }

    /**
     * updateByPrimaryKey
     * @param row row
     * @return int int
     */
    @Override
    public int updateByPrimaryKey(AppCollectType row) {
        return appCollectTypeMapper.updateByPrimaryKey(row);
    }

    @Override
    public int updateBatch(List<AppCollectType> list) {
        return appCollectTypeMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<AppCollectType> list) {
        return appCollectTypeMapper.updateBatchSelective(list);
    }
}